!'use strict';
let permissionController = require('../../../app/controller/back/system/permissionController');
permissionController = ModelProxy(permissionController);
let router = require('express').Router();

/*功能权限管理*/
router.get('/functionPage', permissionController.functionPage);
router.post('/functionList', permissionController.functionList);
router.post('/functionTree', permissionController.functionTree);
router.post('/functionConfirm', permissionController.functionConfirm);

/*数据权限管理*/
router.get('/dataPage', permissionController.dataPage);
router.post('/dataList', permissionController.dataList);
router.post('/dataTree', permissionController.dataTree);
router.post('/dataConfirm', permissionController.dataConfirm);

module.exports = router;